/**
 * TetisDB
 *
 * Interface de TetisDomain
 */
package br.com.tetisdb.domain;

import br.com.tetisdb.configure.TetisConfigureDomain;
import br.com.tetisdb.container.TetisContainer;
import br.com.tetisdb.domain.session.TetisSession;
import br.com.tetisdb.io.snapShot.SnapShotManager;
import br.com.tetisdb.lang.TetisHashMap;

public interface TetisDomain extends TetisConfigureDomain {
    public static final String PATH_DATA = "data";
    public static final String PATH_BACKUP = "backup";
    public static final String PATH_CONFIG = "config";
    public TetisSession getSession(String user, String password);
    public boolean closeSession(String user);
    public TetisHashMap<String, Object> getSessions();
    public SnapShotManager getSnapShotManager();
    public TetisConfigureDomain getConfigure();
    public String getCompleteDataPath();
    public String getCompleteConfigPath();
    public void close();
    public String getCompleteBackupPath();
    public void destroyDomainPath();
}
